//
//  WDPWebViewController.h
//  WDPubLib
//
//  Created by wujianrong on 16/4/20.
//  Copyright © 2016年 wanda. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ICENavigatorBar.h"

@class ICENewWebView;

@interface ICEWebViewController : UIViewController
@property(nonatomic, strong) ICENavViewConfig* config;

@property(nonatomic, strong) NSString* url;

@property(nonatomic, strong) ICENewWebView* webView;

@property(nonatomic, strong) NSString* userAgent;

-(instancetype)initWithUrl:(NSString*)url;

-(void)updateNavigationBarWithLeftTitle:(NSString *)leftTitle leftAction:(NSString *)leftAction rightTitle:(NSString *)rightTitle rightAction:(NSString *)rightAction navigatorTitle:(NSString *)navigatorTitle leftUrl:(NSString *)leftUrl rightUrl:(NSString *)rightUrl navigationBarStatus:(NSString *)status args:(NSDictionary*)args;

-(void)leftNavigationItemWithObject:(NSObject*)left right:(NSObject*)right title:(NSObject*)title;

-(void)webBack;

-(void)closeWebAction;

-(void)refreshWebView;

-(void)leftTopAction:(id)sender;
@end


@interface ICEWebInfo : NSObject

@property(nonatomic, weak) ICEWebViewController* vc;
@property(nonatomic, strong) id webView;


@end

